<?php defined('RUN_KATANA') or die('Restricted access'); ?>
<?php 
if($shop->getGroups()):
foreach($shop->getGroups() as $group)
{
?>
<tr class="items" id="item_id_<?php echo $group->getId(); ?>">
    <td class="first center">
		<?php echo $group->getId(); ?><input type="hidden" name="group_id[]" value="<?php echo $group->getId(); ?>" />
        <div style="display:none;"><?php echo $group; ?></div>
    </td>
    <td><input class="select_list" type="checkbox" name="selected[]" value="<?php echo $group->getId(); ?>" /></td>
    <td><input class="small-m" name="group_title[]" type="text" value="<?php echo $group->getTitle(); ?>" maxlength="80" /></td>
    <td><input class="small-m" name="group_title_import[]" type="text" value="<?php echo $group->getTitleImport(); ?>" maxlength="50" /></td>
    <td>
        <?php echo $commander->getActivationFieldsObject($group); ?>
        <input type="hidden" name="group_active[]" value="<?php echo $group->getActive(); ?>" />
    </td>
    <td class="last">
    <img title="<?php echo ucfirst($txt->getWord('delete').' '.$txt->getWord('group')); ?>" class="icon command group_delete" src="<?php echo SYSICONS_URL; ?>delete_16.gif" onclick="deleteDialog(<?php echo $group->getId(); ?>);" />
    </td>
</tr>
<?php
}
?>
<?php endif; ?>